﻿using Shop.Core.Share;
using Shop.Model.Dto.Enc;
using Shop.Model.View.Enc;

namespace Shop.IServices;

/// <summary>
/// 百科
/// </summary>
public interface IEncyclopediaAppService: IAppService
{
    /// <summary>
    /// 获取分组
    /// </summary>
    /// <returns></returns>
    Task<List<EncyclopediaGroupVo>> GetGroupList(string language);

    /// <summary>
    /// 获取
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<PageModel<EncyclopediaContentVo>> GetContentList(GetContentListDto input);
}